<template>
  <div class="button" @click="clickHandler">
    <slot></slot>
  </div>
</template>

<script>
  import './style.less';
  export default {
    name: 'Button',
    props:{

    },
    data: function() {
      return {}
    },
    methods:{
      clickHandler(){
        this.$emit('click')
      }
    }
  };
</script>

<style scoped lang="less">

</style>
